package com.gxgeek.springdata.domain;

import com.gxgeek.springdata.domain.jdbc.Student;

import java.util.List;

/**
 * Created by gx on 2017/4/21.
 */
public interface StudentDAO {

    /**
     * 查询所有学生
     * @return
     */
    public List<Student> query();

    /**
     * 保存学生个数返回成功数
     * @return
     */
    public int save(Student... student);
}
